package org.dromara.apartment.domain.bo;

import org.dromara.apartment.domain.FacilityInfo;
import org.dromara.common.mybatis.core.domain.BaseEntity;
import org.dromara.common.core.validate.AddGroup;
import org.dromara.common.core.validate.EditGroup;
import io.github.linpeilie.annotations.AutoMapper;
import lombok.Data;
import lombok.EqualsAndHashCode;
import jakarta.validation.constraints.*;

/**
 * 配套信息业务对象 facility_info
 *
 * @author ckj
 * @date 2025-06-13
 */
@Data
@EqualsAndHashCode(callSuper = true)
@AutoMapper(target = FacilityInfo.class, reverseConvertGenerate = false)
public class FacilityInfoBo extends BaseEntity {

    /**
     * 自增逐渐
     */
    @NotNull(message = "自增逐渐不能为空", groups = { EditGroup.class })
    private Long id;

    /**
     * 类型（1:公寓图片,2:房间图片）
     */
    private Integer type;

    /**
     * 名称
     */
    private String name;

    /**
     * 图标
     */
    private String icon;

    /**
     * 排序
     */
    private Integer sort;


}
